package com.ht.modules.ai.app.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import com.ht.aspect.annotation.Dict;

/**
 * 应用信息
 */
@Data
@TableName("ai_app_info")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "ai_app_info对象", description = "应用信息")
public class AppInfo {

    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键")
    private java.lang.Integer id;
    /**
     * 应用名称
     */
    @Excel(name = "应用名称", width = 15)
    @ApiModelProperty(value = "应用名称")
    private java.lang.String appName;
    /**
     * 密钥
     */
    @Excel(name = "密钥", width = 15)
    @ApiModelProperty(value = "密钥")
    private java.lang.String accessKey;
    /**
     * 企业ID
     */
    @Excel(name = "企业ID", width = 15, dicCode = "id", dictTable = "ai_company", dicText = "name")
    @ApiModelProperty(value = "企业ID")
    @Dict(dicCode = "id", dictTable = "ai_company", dicText = "name")
    private java.lang.Integer companyId;
    /**
     * 重定向地址
     */
    @Excel(name = "重定向地址", width = 15)
    @ApiModelProperty(value = "重定向地址")
    private java.lang.String redirectUrl;
    /**
     * 版本号
     */
    @Excel(name = "版本号", width = 15)
    @ApiModelProperty(value = "版本号")
    private java.lang.Integer version;

    // ---------- 导入字段 ----------

}
